home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee - A Text function that replaces part of a text
- string
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Text.h>
- vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee(
- WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ffffrrrroooommmm____ppppoooossss,
- XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ttttoooo____ppppoooossss,
- cccchhhhaaaarrrr **** vvvvaaaalllluuuueeee);
-
- VVVVEEEERRRRSSSSIIIIOOOONNNN
- This page documents Motif 2.1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee replaces part of the text string in the Text
- widget. The character positions begin at 0 (zero) and are
- numbered sequentially from the beginning of the text.
-
- An example text replacement would be to replace the second
- and third characters in the text string. To accomplish this,
- the parameter _f_r_o_m__p_o_s must be 1 and _t_o__p_o_s must be 3. To
- insert a string after the fourth character, both parameters,
- _f_r_o_m__p_o_sand _t_o__p_o_s, must be 4.
-
- This routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
- verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
- XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
- callback lists are registered, the procedures of the
- XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
- resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
- callbacks. The XXXXmmmmNNNNmmmmoooottttiiiioooonnnnVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk is generated if
- _t_o__p_o_s is less than or equal to the cursor position and the
- length of _v_a_l_u_e is not the same as the length of the text
- being replaced, or if the cursor position is between
- _f_r_o_m__p_o_s and _t_o__p_o_s, and the distance from the cursor
- position to _f_r_o_m__p_o_s is greater than the length of _v_a_l_u_e.
-
- _w_i_d_g_e_t Specifies the Text widget ID
-
- _f_r_o_m__p_o_s Specifies the start position of the text to be
- replaced
-
- _t_o__p_o_s Specifies the end position of the text to be
- replaced
-
- _v_a_l_u_e Specifies the character string value to be added
- to the text widget
-
- For a complete definition of Text and its associated
- resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee((((3333XXXX))))
-
-
-
- RRRREEEELLLLAAAATTTTEEEEDDDD
- XXXXmmmmTTTTeeeexxxxtttt(3) and XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-